
package com.minglead.springboot.platform.sys.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.minglead.springboot.common.persistence.CrudDao;
import com.minglead.springboot.common.persistence.TreeDao;
import com.minglead.springboot.platform.sys.entity.DesktopPlugConfig;
import com.minglead.springboot.common.crud.annotation.MyBatisDao;
/**
 * 桌面插件配置DAO接口
 * @author clz
 * @version 2017-09-05
 */
@MyBatisDao
public interface DesktopPlugConfigDao extends CrudDao<DesktopPlugConfig> {

	public List<DesktopPlugConfig> getListByRoleId(@Param("roleId")String roleId);

	public DesktopPlugConfig getByRoleIdPlugId(@Param("roleId")String roleId, @Param("plugId")String plugId);

	public void deleteByRoleId(@Param("roleId")String roleId);
	
}